package com.drugmanage.dao;

import com.drugmanage.Base.BaseDao;
import com.drugmanage.entity.Role;
import com.drugmanage.query.RoleQuery;

import java.util.List;

public interface RoleDao extends BaseDao<Role>{

    int save(Role record);

    int saveSte(Role record);

    Role get(Integer id);

    int updateSte(Role record);

    List<Role> queryForPage(RoleQuery roleQuery);

    List<Role> queryAllRoles();

    Role queryRoleByRoleName(String roleName);

}